package com.google.project.shared;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.jdo.annotations.Persistent;

@SuppressWarnings("serial")
public class ProjectDTO implements Serializable{
	private int index;
	private String projectID;
	private String projectCode;
	private String projectName;
	private Long startDate;
	private Long finishDate;
	private Long dueDate;
	private String accountName;
	private String userId;
	private int status;
	private String location;
	private String consultant;
	private String phoneConsultant;
	private String faxConsultant;
	private String investor;
	private String phoneInvestor;
	private String faxInvestor;
	private String description;
	private Double complete ;
	private int  numOfEmpReq;
	private int  numOfEmpRep;
	private int numOfOPT;
	private int numOfOPTRep;
	private int isReq;
	private List<SubConstructorDTO> listOfSubContructor = new ArrayList<SubConstructorDTO>();
	
	public ProjectDTO() {
	}
	public ProjectDTO(String projectCode, String projectName, Long startDate,
			Long finishDate, Long dueDate, String accountName, int status,
			String location, String consultant, String phoneConsultant,
			String faxConsultant, String investor, String phoneInvestor,
			String faxInvestor, String description,int numOfEmpReq,int numOfEmpRep,int numOfOPT,int numOfOPTRep,int isReq) {
		super();
		this.projectCode = projectCode;
		this.projectName = projectName;
		this.startDate = startDate;
		this.finishDate = finishDate;
		this.dueDate = dueDate;
		this.accountName = accountName;
		this.status = status;
		this.location = location;
		this.consultant = consultant;
		this.phoneConsultant = phoneConsultant;
		this.faxConsultant = faxConsultant;
		this.investor = investor;
		this.phoneInvestor = phoneInvestor;
		this.faxInvestor = faxInvestor;
		this.description = description;
		this.numOfEmpRep=numOfEmpRep;
		this.numOfEmpReq=numOfEmpReq;
		this.numOfOPT=numOfOPT;
		this.numOfOPTRep=numOfOPTRep;
		this.isReq=isReq;
	}

	
	
	public List<SubConstructorDTO> getListOfSubContructor() {
		return listOfSubContructor;
	}
	public void setListOfSubContructor(List<SubConstructorDTO> listOfSubContructor) {
		this.listOfSubContructor = listOfSubContructor;
	}
	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
   
	
	public Double getComplete() {
		return complete;
	}
	public void setComplete(Double complete) {
		this.complete = complete;
	}
	public String getProjectID() {
		return projectID;
	}

	public void setProjectID(String projectID) {
		this.projectID = projectID;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getProjectCode() {
		return projectCode;
	}
	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public Long getStartDate() {
		return startDate;
	}
	public void setStartDate(Long startDate) {
		this.startDate = startDate;
	}
	public Long getFinishDate() {
		return finishDate;
	}
	public void setFinishDate(Long finishDate) {
		this.finishDate = finishDate;
	}
	public Long getDueDate() {
		return dueDate;
	}
	public void setDueDate(Long dueDate) {
		this.dueDate = dueDate;
	}
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getConsultant() {
		return consultant;
	}

	public void setConsultant(String consultant) {
		this.consultant = consultant;
	}

	public String getPhoneConsultant() {
		return phoneConsultant;
	}

	public void setPhoneConsultant(String phoneConsultant) {
		this.phoneConsultant = phoneConsultant;
	}

	public String getFaxConsultant() {
		return faxConsultant;
	}

	public void setFaxConsultant(String faxConsultant) {
		this.faxConsultant = faxConsultant;
	}

	public String getInvestor() {
		return investor;
	}

	public void setInvestor(String investor) {
		this.investor = investor;
	}

	public String getPhoneInvestor() {
		return phoneInvestor;
	}

	public void setPhoneInvestor(String phoneInvestor) {
		this.phoneInvestor = phoneInvestor;
	}

	public String getFaxInvestor() {
		return faxInvestor;
	}

	public void setFaxInvestor(String faxInvestor) {
		this.faxInvestor = faxInvestor;
	}

	public String getDescription() {
		return description;
	}
	
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getIndex() {
		return index;
	}
	public void setIndex(int index) {
		this.index = index;
	}
	public int getNumOfEmpReq() {
		return numOfEmpReq;
	}
	public void setNumOfEmpReq(int numOfEmpReq) {
		this.numOfEmpReq = numOfEmpReq;
	}
	public int getNumOfEmpRep() {
		return numOfEmpRep;
	}
	public void setNumOfEmpRep(int numOfEmpRep) {
		this.numOfEmpRep = numOfEmpRep;
	}
	public int getIsReq() {
		return isReq;
	}
	public void setIsReq(int isReq) {
		this.isReq = isReq;
	}
	public int getNumOfOPT() {
		return numOfOPT;
	}
	public void setNumOfOPT(int numOfOPT) {
		this.numOfOPT = numOfOPT;
	}
	public int getNumOfOPTRep() {
		return numOfOPTRep;
	}
	public void setNumOfOPTRep(int numOfOPTRep) {
		this.numOfOPTRep = numOfOPTRep;
	}
	
	
}
